import req from "../utils/request";
// 获取音乐url
export const getSongUrl = id => {
  return req({
    method: "GET",
    url: `/song/url?id=${id}`,
  });
};
// 获取歌词
export const getSongWord = id => {
  return req({
    method: "GET",
    url: `/lyric?id=${id}`,
  });
};
// 获取歌名和歌手，图片
export const getSongMsg = id => {
  return req({
    method: "GET",
    url: `/song/detail?ids=${id}`,
  });
};
// 获取专辑名
export const getCD = id => {
  return req({
    method: "GET",
    url: `/album?id=${id}`,
  });
};
